package com.ruoyi.system.domain.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.ruoyi.system.domain.dto.UserBaseInfoDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 攻略游记视图对象 bs_strategy
 *
 * @author ruoyi
 * @date 2023-11-25
 */
@Data
public class BsStrategyVO implements Serializable {

    private static final long serialVersionUID = -2685013576908095479L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "创建人id")
    private Long createById;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "图片")
    private String img;

    @ApiModelProperty(value = "定位信息")
    private String address;

    @TableLogic(value = "0", delval = "1")
    @ApiModelProperty(value = "逻辑删除字段 0：正常 1：删除")
    private String delFlag;

    @ApiModelProperty(value = "创建人信息")
    private UserBaseInfoDTO createUserInfo;

    @ApiModelProperty(value = "点赞-总数")
    private Integer strategyLikeNum;
    @ApiModelProperty(value = "收藏-总数")
    private Integer strategyCollectNum;
    @ApiModelProperty(value = "评论-总数")
    private Integer strategyCommentNum;

    @ApiModelProperty(value = "是否点赞")
    private Boolean checkLike = false;
    @ApiModelProperty(value = "是否收藏")
    private Boolean checkCollect = false;


}
